package com.hz.cheetah.config.spring.schema;

import com.hz.cheetah.config.spring.ReferenceBean;
import org.springframework.beans.factory.xml.NamespaceHandlerSupport;

/**
 * Created by yangchuan on 16/6/15.
 */
public class CheetahNamespaceHandler extends NamespaceHandlerSupport {
    @Override
    public void init() {
        //registerBeanDefinitionParser("reference", new CheetahBeanDefinitionParser());
        registerBeanDefinitionParser("reference", new DynamicBeanDefinitionParser(ReferenceBean.class,false));
    }
}
